package com.example.service.impl.department;

import com.example.dao.department.DeptDao;
import com.example.pojo.department.Dept;
import com.example.service.department.DeptService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;

/**
 * @author 小苏
 * @ClassName:DeptServiceImpl
 * @description: TODO
 * @data 2022/12/9 9:12
 * @version: 1.0
 **/
@Service
public class DeptServiceImpl implements DeptService {
    @Autowired
    private DeptDao deptDao;
    @Override
    public List<Dept> getCha() {
        return deptDao.getDept();
    }
}
